function table_screening() {
    var minPrice=$("#price_min").val()==undefined?"":$("#price_min").val();
    var maxPrice=$("#price_max").val()==undefined?"":$("#price_max").val();
    var mintime=$("#date_min").val()==undefined?"":$("#date_min").val();
    var maxtime=$("#date_max").val()==undefined?"":$("#date_max").val();
    var catalog=$("#ArticleCatalog").val()==undefined?"":$("#ArticleCatalog").val();
    var title=$("#order_id").val()==undefined?"":$("#order_id").val();
    var url="/CenterInc/view_json/MyArticle_json.aspx?maxPrice="+maxPrice+"&minPrice="+minPrice+"&minTime="+mintime+"&maxTime="+maxtime+"&catalog="+catalog+"&search="+title;
    console.log("url:"+url);
    RenderTable("#ArticleList",'',url,true,[[
        {field: 'Id', title: 'ID', sort: true, fixed: 'left'}
        ,{field: 'Title', title: '标题', fixed: 'left' }
        ,{field: 'Price', title: '价格',  sort: true}
        ,{field: 'Img', title: '封面' }
        ,{field: 'Catalog', title: '目录'}
        ,{field: 'Describe', title: '简介', width: 100}
        ,{field: 'Time', title: '时间', sort: true}
        ,{field: 'right', title: '操作', fixed:'right',toolbar:'#toolbar', sort: true}
    ]],20);
}
function tabel_event() {
    table.on('tool(ArticleList)', function(obj){ //注：tool 是工具条事件名，test 是 table 原始容器的属性 lay-filter="对应的值"
        var table_Row = obj.data //获得当前行数据
            ,layEvent = obj.event; //获得 lay-event 对应的值
        console.log(table_Row);
        if(layEvent === 'del'){
            layer.confirm('请确认是否删除？', {
                btn: ['是','否'] //按钮
            }, function(){
                $.post("/CenterInc/view_inc/Article_inc.aspx?mode=1",{article_id:table_Row.Id},function (data) {
                    if(data["error"]!=undefined){
                        layer.msg(data["error"], {icon: 5});
                        return;
                    }
                    layer.msg(data["msg"], {icon: 1});
                    setTimeout("window.location.reload()",2000);
                });

            });
            console.log(table_Row);
        } else if(layEvent === 'edit'){
            window.parent.open_page(table_Row.Title+"-编辑",'/article/ArticleWrite.aspx?edit=1&article_id='+table_Row.Id,'edit_article_'+table_Row.Id);
            return;
        }
    });
}